import { boot } from 'quasar/wrappers';
import * as ElIcons from '@element-plus/icons-vue';
// import VueResource from 'vue-resource'
import ElementUI from 'element-plus';
// import 'element-plus/theme-chalk/index.css';
import '../css/element.variables.scss';
// import './guards'
// import '@heartexlabs/label-studio/build/static/css/main.css';

export default boot(({ app }) => {
  for (const name in ElIcons) {
    app.component(name, ElIcons[name]);
  }

  /* 清楚 vue warn */
  app.config.warnHandler = () => null;

  app.use(ElementUI);
  // app.use(VueResource);
});
